how to factor difficult quadratic equations